package com.tengfei.main.course.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tengfei.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 视频对象 cs_video
 *
 * @author tengfei
 * @date 2022-07-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cs_video")
public class Video extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 视频id
     */
    @TableId(value = "video_id")
    private Long videoId;
    /**
     * 视频名称
     */
    private String videoName;
    /**
     * 视频封面
     */
    private String videoCover;
    /**
     * 视频地址
     */
    private String videoUrl;
    /**
     * 视频大小
     */
    private Long videoSize;
    /**
     * 时长
     */
    private Integer videoDuration;
    /**
     * 播放次数
     */
    private Long videoPlayCount;
    /**
     * 播放完毕次数
     */
    private Long videoFinishCount;
    /**
     * 视频状态
     */
    private Integer videoStatus;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer showStatus;

}
